DataFrame.orderBy
DataFrame.orderBy(
*cols: pyspark_dubber.sql.expr.Expr | str,
ascending: bool | list[bool] = True,
)
Incompatibility Note
Sorting by column ordinals (which are 1-based, not 0-based) is not supported yet. Additionally, this function still needs better testing around edge cases, when sorting with complex column expressions which include sorting.